<template>
    <div>
        <h1>具名插槽</h1>
        <FirstChild></FirstChild>
    </div>
</template>
<script>
import FirstChild from '../../components/firstchild.vue'

export default {
    provide() {
        return {
            message: '顶层父组件',
        }
    },
    name: 'lesson7',
    components: {
        FirstChild
    },
    data() {
        return {
            a1: 'hello world',
        }
    }
}
</script>
